<?php
namespace app\adminapi\controller\setting\system;

use app\adminapi\controller\BaseAdminApiController;
use app\adminapi\logic\setting\system\CacheLogic;

/**
 * 系统缓存
 * Class CacheController
 * @package app\adminapi\controller\setting\system
 */
class CacheController extends BaseAdminApiController
{

    /**
     * @notes 清除系统缓存
     * @return \support\Response
     */
    public function clear()
    {
         CacheLogic::clear();
         return $this->success('清除成功', [], 1, 1);
    }
}